using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;

namespace BySoft.Server.Common.Schema
{
[Serializable]
public class MdProductTable : TableInfo
{
public const string C_TABLENAME = "Md_Product";

public const string C_PRODUCTID = "PRODUCTID";

public const string C_PRODUCTTYPEID = "PRODUCTTYPEID";

public const string C_CUSTOMERPARTNO = "CUSTOMERPARTNO";

public const string C_PRODUCTNAME = "PRODUCTNAME";

public const string C_SPECIFICATIONS = "SPECIFICATIONS";

public const string C_OUTSIDE = "OUTSIDE";

public const string C_INSIDE = "INSIDE";

public const string C_UNIT = "UNIT";

public const string C_PRICE = "PRICE";

public const string C_SAFESTOCK = "SAFESTOCK";

public const string C_STATUS = "STATUS";

public const string C_CREATEDATE = "CREATEDATE";

public const string C_MODIFYUSERNAME = "MODIFYUSERNAME";

public const string C_CREATEUSERID = "CREATEUSERID";

public const string C_CREATEUSERNAME = "CREATEUSERNAME";

public const string C_MODIFYDATE = "MODIFYDATE";

public const string C_MODIFYUSERID = "MODIFYUSERID";

public MdProductTable()
{
_tableName = "Md_Product";
}

protected static MdProductTable _current;
public static MdProductTable Current
{
get
{
if (_current == null )
{
Initial();
}
return _current;
}
}

private static void Initial()
{
_current = new MdProductTable();

_current.Add(C_PRODUCTID, new ColumnInfo(C_PRODUCTID, "", true, typeof(String)));

_current.Add(C_PRODUCTTYPEID, new ColumnInfo(C_PRODUCTTYPEID, "", false, typeof(String)));

_current.Add(C_CUSTOMERPARTNO, new ColumnInfo(C_CUSTOMERPARTNO, "", false, typeof(String)));

_current.Add(C_PRODUCTNAME, new ColumnInfo(C_PRODUCTNAME, "", false, typeof(String)));

_current.Add(C_SPECIFICATIONS, new ColumnInfo(C_SPECIFICATIONS, "", false, typeof(String)));

_current.Add(C_OUTSIDE, new ColumnInfo(C_OUTSIDE, "", false, typeof(Decimal?)));

_current.Add(C_INSIDE, new ColumnInfo(C_INSIDE, "", false, typeof(Decimal?)));

_current.Add(C_UNIT, new ColumnInfo(C_UNIT, "", false, typeof(String)));

_current.Add(C_PRICE, new ColumnInfo(C_PRICE, "", false, typeof(Decimal?)));

_current.Add(C_SAFESTOCK, new ColumnInfo(C_SAFESTOCK, "", false, typeof(Decimal?)));

_current.Add(C_STATUS, new ColumnInfo(C_STATUS, "", false, typeof(String)));

_current.Add(C_CREATEDATE, new ColumnInfo(C_CREATEDATE, "", false, typeof(DateTime?)));

_current.Add(C_MODIFYUSERNAME, new ColumnInfo(C_MODIFYUSERNAME, "", false, typeof(String)));

_current.Add(C_CREATEUSERID, new ColumnInfo(C_CREATEUSERID, "", false, typeof(String)));

_current.Add(C_CREATEUSERNAME, new ColumnInfo(C_CREATEUSERNAME, "", false, typeof(String)));

_current.Add(C_MODIFYDATE, new ColumnInfo(C_MODIFYDATE, "", false, typeof(DateTime?)));

_current.Add(C_MODIFYUSERID, new ColumnInfo(C_MODIFYUSERID, "", false, typeof(String)));

}

public ColumnInfo PRODUCTID
{
get { return this[C_PRODUCTID]; }
}

public ColumnInfo PRODUCTTYPEID
{
get { return this[C_PRODUCTTYPEID]; }
}

public ColumnInfo CUSTOMERPARTNO
{
get { return this[C_CUSTOMERPARTNO]; }
}

public ColumnInfo PRODUCTNAME
{
get { return this[C_PRODUCTNAME]; }
}

public ColumnInfo SPECIFICATIONS
{
get { return this[C_SPECIFICATIONS]; }
}

public ColumnInfo OUTSIDE
{
get { return this[C_OUTSIDE]; }
}

public ColumnInfo INSIDE
{
get { return this[C_INSIDE]; }
}

public ColumnInfo UNIT
{
get { return this[C_UNIT]; }
}

public ColumnInfo PRICE
{
get { return this[C_PRICE]; }
}

public ColumnInfo SAFESTOCK
{
get { return this[C_SAFESTOCK]; }
}

public ColumnInfo STATUS
{
get { return this[C_STATUS]; }
}

public ColumnInfo CREATEDATE
{
get { return this[C_CREATEDATE]; }
}

public ColumnInfo MODIFYUSERNAME
{
get { return this[C_MODIFYUSERNAME]; }
}

public ColumnInfo CREATEUSERID
{
get { return this[C_CREATEUSERID]; }
}

public ColumnInfo CREATEUSERNAME
{
get { return this[C_CREATEUSERNAME]; }
}

public ColumnInfo MODIFYDATE
{
get { return this[C_MODIFYDATE]; }
}

public ColumnInfo MODIFYUSERID
{
get { return this[C_MODIFYUSERID]; }
}

}
}